package com.zzit.vjv.entity.documentReview_entity;

import java.io.Serializable;

/**
 * 后台用户表实体类
 */
public class BackendUser implements Serializable {

    private int id; //'主键id',
    private String userCode; //'用户编码',
    private String userName; //'用户名称',
    private int userType; //'用户角色类型（来源于数据字典表，分为：超管、财务、市场、运营、销售）',
    private int createdBy; //'创建者（来源于backend_user用户表的用户id）',
    private String creationDate; //'创建时间',
    private int modifyBy; //'更新者（来源于backend_user用户表的用户id）',
    private String modifyDate; //'最新更新时间',
    private String userPassword; //'用户密码',


    private String userTypeName;//用于一对一联表,接收用户类型



    /**
     * 无参构造
     */
    public BackendUser() {

    }

    /**
     * @param id           '主键id',
     * @param userCode     '用户编码',
     * @param userName     '用户名称',
     * @param userType     '用户角色类型（来源于数据字典表，分为：超管、财务、市场、运营、销售）',
     * @param createdBy    '创建者（来源于backend_user用户表的用户id）',
     * @param creationDate '创建时间',
     * @param modifyBy     '更新者（来源于backend_user用户表的用户id）',
     * @param modifyDate   '最新更新时间',
     * @param userPassword '用户密码',
     */
    public BackendUser(int id, String userCode, String userName, int userType, int createdBy, String creationDate, int modifyBy, String modifyDate, String userPassword) {
        this.id = id;
        this.userCode = userCode;
        this.userName = userName;
        this.userType = userType;
        this.createdBy = createdBy;
        this.creationDate = creationDate;
        this.modifyBy = modifyBy;
        this.modifyDate = modifyDate;
        this.userPassword = userPassword;
    }
    public String getUserTypeName() {
        return userTypeName;
    }

    public void setUserTypeName(String userTypeName) {
        this.userTypeName = userTypeName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public int getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(int createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(String creationDate) {
        this.creationDate = creationDate;
    }

    public int getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(int modifyBy) {
        this.modifyBy = modifyBy;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }
}
